package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单分期付款对象 t_b_order_spread
 * 
 * @author pspyy
 * @date 2022-03-09
 */
public class TBOrderSpread extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNum;

    /** 期数 */
    @Excel(name = "期数")
    private Long spreadNum;

    /** 还款时间 */
    @Excel(name = "还款时间")
    private String repayTime;

    /** 还款金额 */
    @Excel(name = "还款金额")
    private Long repayMoney;

    /** 还款状态;0：已还款；1：未还款 */
    @Excel(name = "还款状态;0：已还款；1：未还款")
    private String repayState;

    //上次通知时间
    private String lastTime;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setSpreadNum(Long spreadNum) 
    {
        this.spreadNum = spreadNum;
    }

    public Long getSpreadNum() 
    {
        return spreadNum;
    }
    public void setRepayTime(String repayTime) 
    {
        this.repayTime = repayTime;
    }

    public String getLastTime() {
        return lastTime;
    }

    public void setLastTime(String lastTime) {
        this.lastTime = lastTime;
    }

    public String getRepayTime()
    {
        return repayTime;
    }
    public void setRepayMoney(Long repayMoney) 
    {
        this.repayMoney = repayMoney;
    }

    public Long getRepayMoney() 
    {
        return repayMoney;
    }
    public void setRepayState(String repayState) 
    {
        this.repayState = repayState;
    }

    public String getRepayState() 
    {
        return repayState;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNum", getOrderNum())
            .append("spreadNum", getSpreadNum())
            .append("repayTime", getRepayTime())
            .append("repayMoney", getRepayMoney())
            .append("repayState", getRepayState())
            .append("createdBy", getCreateBy())
            .append("createdTime", getCreateTime())
            .append("updatedBy", getUpdateBy())
            .append("updatedTime", getUpdateTime())
            .toString();
    }
}
